home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / system.man < prev    next >
Encoding:
Text File  |  1989-12-01  |  800 b   |  67 lines

  1.  
  2.  
  3.  
  4. SYSTEM                C Library Procedures                 SYSTEM
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      system - issue a shell command
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ssyysstteemm((ssttrriinngg))
  13.      cchhaarr **ssttrriinngg;;
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.      _S_y_s_t_e_m causes the _s_t_r_i_n_g to be given to _s_h(1) as input as if
  17.      the string had been typed as a command at a terminal.  The
  18.      current process waits until the shell has completed, then
  19.      returns the exit status of the shell.
  20.  
  21. SSEEEE AALLSSOO
  22.      popen(3S), execve(2), wait(2)
  23.  
  24. DDIIAAGGNNOOSSTTIICCSS
  25.      Exit status 127 indicates the shell couldn't be executed.
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 15, 1985                          1
  64.  
  65.  
  66.  
  67.